<div class='formheader'>
<?
if($params){
	foreach($params as $param){
		$class='';
		if($selected==$param['link']){
			$class='class="selected"';
		};		
		echo '<p '.$class.'>';
		echo  html::anchor(CONTDIR.$controller.'/form/'.$param['link'].'/'.$id.'?'.$_SERVER['QUERY_STRING'] , $param['title'] ) ;
		echo '</p>';
	}
}

?>
<div class='clear'></div>
</div>